package com.example.blogsystem_ssm.service;

import com.example.blogsystem_ssm.mapper.WriteBlogMapper;
import com.example.blogsystem_ssm.model.Blog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WriteBlogService {
    @Autowired
    WriteBlogMapper mapper;
    public boolean insert(Blog blog){
        return mapper.insert(blog);
    }
}
